﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IS_Pmds_SBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IS_Pmds_S;

        void Remove(IS_Pmds_S entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IS_Pmds_S;

        void DelByInspecId(string inspecId);

        string Exists(string unit, string inspecid);
    }
}
